export default app => {
  const { INTEGER, DATE, DataTypes } = app.Sequelize;

  const mergeOrganizationInvestment = app.model.define(
    'merge_organization_investment',
    {
      id: { type: INTEGER, primaryKey: true, autoIncrement: true },
      organization_id: {
        type: DataTypes.INTEGER,
      },
      investment_id: {
        type: DataTypes.INTEGER,
      },
      createdAt: DATE,
      updatedAt: DATE,
    }
  );
  return mergeOrganizationInvestment;
};
